package com.example.webflux_test.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Flux;

@RestController
public class TestController {
    @GetMapping("")
    public Flux<Integer> getUser() {
        Flux<Integer> ints = Flux.range(1, 3);

        return ints;
    }
}
